package com.duan.laugh.common.core.exception;

/**
 * 下载文件异常
 *
 * @author duanjw
 */
public class DownloadFileException extends BaseRuntimeException {

    private static final long serialVersionUID = 1L;

    /**
     * 错误码
     */
    public static Integer CODE = 6;
    /**
     * 异常消息
     */
    public static String MESSAGE = "下载文件失败";

    public DownloadFileException() {
        super(MESSAGE);
    }

    public DownloadFileException(String message) {
        super(message);
    }

    /**
     * 错误码
     *
     * @return
     */
    @Override
    public Integer getCode() {
        return CODE;
    }
}
